Journaling Screen
fun JournalingScreen(modifier: Modifier = Modifier, viewModel: JournalViewModel = hiltViewModel(), openDrawer: () -> Unit, onNavigateToEntryCreation: () -> Unit, onNavigateToEntryView: (String) -> Unit)
Displays the home page for the Journaling section, consisting of a top app bar, a floating action button to add a new journal entry, and a list of existing journal entries.
Parameters
modifier
Modifier to be applied to the composable.
view Model
The ViewModel providing the UI state.
open Drawer
A lambda to open the navigation drawer.
on Navigate To Entry Creation
A lambda to navigate to the entry creation screen.
on Navigate To Entry View
A lambda to navigate to a detailed view of a journal entry.